home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / g_man / cat3 / OpenGL-GLC / glcgetcharmetric.z / glcgetcharmetric
Text File  |  1998-10-20  |  4KB  |  67 lines

  1.  
  2.  
  3.  
  4. ggggllllccccGGGGeeeettttCCCChhhhaaaarrrrMMMMeeeettttrrrriiiicccc((((3333GGGG))))      OOOOppppeeeennnnGGGGLLLL CCCChhhhaaaarrrraaaacccctttteeeerrrr RRRReeeennnnddddeeeerrrreeeerrrr       ggggllllccccGGGGeeeettttCCCChhhhaaaarrrrMMMMeeeettttrrrriiiicccc((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggllllccccGGGGeeeettttCCCChhhhaaaarrrrMMMMeeeettttrrrriiiicccc - measure a character
  10.  
  11.  
  12. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  13.      GLfloat* ggggllllccccGGGGeeeettttCCCChhhhaaaarrrrMMMMeeeettttrrrriiiicccc( GLint _i_n_C_o_d_e,
  14.                                 GLCenum _i_n_M_e_t_r_i_c,
  15.                                 GLfloat *_o_u_t_V_e_c )
  16.  
  17.  
  18. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  19.      _i_n_C_o_d_e    Specifies the character to measure.
  20.  
  21.      _i_n_M_e_t_r_i_c  Specifies the metric to measure, either GGGGLLLLCCCC____BBBBAAAASSSSEEEELLLLIIIINNNNEEEE or
  22.                GGGGLLLLCCCC____BBBBOOOOUUUUNNNNDDDDSSSS.
  23.  
  24.      _o_u_t_V_e_c    Specifies a vector in which to store value of _i_n_M_e_t_r_i_c for the
  25.                specified character.
  26.  
  27.  
  28. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  29.      ggggllllccccGGGGeeeettttCCCChhhhaaaarrrrMMMMeeeettttrrrriiiicccc is identical to ggggllllccccRRRReeeennnnddddeeeerrrrCCCChhhhaaaarrrr but instead of rendering
  30.      the character that _i_n_C_o_d_e is mapped to, ggggllllccccGGGGeeeettttCCCChhhhaaaarrrrMMMMeeeettttrrrriiiicccc only measures
  31.      the baseline or bounds (depending on _i_n_M_e_t_r_i_c) of the character.
  32.      ggggllllccccGGGGeeeettttCCCChhhhaaaarrrrMMMMeeeettttrrrriiiicccc stores the value of the baseline (or bounds) in _o_u_t_V_e_c.
  33.  
  34.      If _i_n_M_e_t_r_i_c is GGGGLLLLCCCC____BBBBOOOOUUUUNNNNDDDDSSSS, a vector of eight values is returned in
  35.      _o_u_t_V_e_c. The vector starts in the lower left corner and continues in a
  36.      counterclockwise direction.
  37.  
  38. EEEERRRRRRRROOOORRRRSSSS
  39.      GGGGLLLLCCCC____SSSSTTTTAAAATTTTEEEE____EEEERRRRRRRROOOORRRR is generated if the issuing thread has no current GLC
  40.      context.
  41.  
  42. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  43.      ggggllllccccGGGGeeeettttMMMMaaaaxxxxCCCChhhhaaaarrrrMMMMeeeettttrrrriiiicccc, ggggllllccccGGGGeeeettttSSSSttttrrrriiiinnnnggggCCCChhhhaaaarrrrMMMMeeeettttrrrriiiicccc, ggggllllccccMMMMeeeeaaaassssuuuurrrreeeeCCCCoooouuuunnnntttteeeeddddSSSSttttrrrriiiinnnngggg,
  44.      ggggllllccccMMMMeeeeaaaassssuuuurrrreeeeSSSSttttrrrriiiinnnngggg
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.